package com.efast.cafe.portal.service.api.impl;

import java.util.List;

import com.efast.cafe.portal.dao.api.PortalApiFieldDao;
import com.efast.cafe.portal.entity.api.PortalApiField;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.efast.cafe.portal.service.api.IPortalApiFieldService;

/**
 * <p>
 * Service接口实现类
 * </p>
 * <p>
 * Table: portal_api_field - 字段定义
 * </p>
 *
 * @since 2017-08-10 02:36:09
 */
@Service
@Transactional
public class PortalApiFieldServiceImpl implements IPortalApiFieldService {

	private PortalApiFieldDao portalApiFieldDao;

	@Autowired
	public void setPortalApiFieldDao(PortalApiFieldDao portalApiFieldDao) {
		this.portalApiFieldDao = portalApiFieldDao;
	}

	@Override
	public List<PortalApiField> queryByObjectId(int objectId) {
		// TODO Auto-generated method stub
		return portalApiFieldDao.queryApiFieldByObjId(objectId);
	}

}